<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jst1/core" %>
<html>
<head>
    <title>Title</title>
</head>
<body>

    <%
        out.println(session.getServletContext().getRealPath("/").replace("\\","/"));
    %>


    <table border="1" width="500px">
        <tr><th>序号</th><th>用户名称</th><th>性别</th></tr>
        <c:forEach var="user" items="$(userList}" varStatus="status">
            <tr><td>$[status.count]</td><td>$user.username]</td><td>$user.gender]</td>/tr>
        </c:forEach>
    </table>


</body>
</html>
